package com.tedu.charging.service.user.service;


import com.tedu.charging.service.user.pojo.vo.UserVO;

import java.math.BigDecimal;

public interface IChargingUserInfoService {
    /**
     * 微信登录
     * @param code 临时token
     * @return 用户编号
     */
    public  Integer wxLogin(String code,String nickName) throws Throwable;
    public boolean updateBalance(Integer userId, BigDecimal balance);
    public boolean recharge(Integer userId, BigDecimal balance);
    public UserVO getUser(Integer userId);
}
